<template>
  <el-button type="primary" plain>新增</el-button>
  <AdminList :item_list="services_list" />
</template>

<script lang="ts">

import { ref } from "vue";
import { AdminList } from '@/components/AdminList';

const services_list = ref([
  {
    name: "service name1",
    description: 'Do the dishes'
  },
  {
    name: "service name2",
    description: 'Take out the trash'
  }
])

export default {
  name: 'Admin',
  components: {
    AdminList,
  },
  setup() {
    return {
        services_list
    };
  },
};
</script>